﻿@model RenWuZhi.Models.rwz_PeopleContent
@{
    ViewBag.Title = "";
}
@section Head{
    <style type="text/css">
        #bodycontent
        {
            margin: auto;
            width: 990px;
            text-align: center;
        }
        A
        {
            color: #17387d;
            text-decoration: none;
        }
        A:link
        {
            color: #17387d;
            text-decoration: none;
        }
        A:visited
        {
            color: #516999;
            text-decoration: none;
        }
        A:hover
        {
            color: #17387d;
            text-decoration: underline;
        }
        .clear
        {
            line-height: 0;
            height: 0px;
            visibility: hidden;
            clear: both;
            font-size: 0px;
            overflow: hidden;
        }
        .base-set
        {
            padding-bottom: 10px;
            background-color: #fff;
            padding-left: 10px;
            padding-right: 10px;
            padding-top: 10px;
        }
        
        .blogtitle
        {
            line-height: 40px;
            padding-left: 40px;
            font-size: 14px;
            font-weight: bold;
            text-align: left;
        }
        .rightcontent-top
        {
            line-height: 0;
            background: url(/Content/images/ihome/mainbg.gif) no-repeat;
            height: 6px;
            font-size: 0px;
        }
        .rightcontent-bottom
        {
            line-height: 0;
            background: url(/Content/images/ihome/mainbg.gif) no-repeat;
            height: 6px;
            font-size: 0px;
        }
        .base-set
        {
            padding-bottom: 10px;
            background-color: #fff;
            padding-left: 10px;
            padding-right: 10px;
            padding-top: 10px;
        }
        .tab-box
        {
            border-bottom: #2aa8de 2px solid;
            line-height: 22px;
            padding-left: 30px;
            zoom: 1;
            height: 23px;
        }
        
        .content-title
        {
            margin-bottom: 6px;
            height: 20px;
            line-height: 20px;
            font-size: 14px;
            text-align: left;
            padding-left: 42px;
        }
        
        .lable
        {
            width: 90%;
        }
        .textarea
        {
            width: 90%;
            height: 400px;
        }
    </style>
}

<script src="@Url.Content("~/Scripts/jquery.validate.min.js")" type="text/javascript"></script>
<script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.min.js")" type="text/javascript"></script>
<script src="@Url.Content("~/Content/Kindeditor/kindeditor.js")" type="text/javascript" charset="utf-8"></script>
<script type="text/javascript">
    KE.show({
        id: 'PC_Content',
        imageUploadJson: '@Url.Content("~/Content/Kindeditor/upload_json.ashx")',
        fileManagerJson: '@Url.Content("~/Content/Kindeditor/file_manager_json.ashx")',
        allowFileManager: true
    });
</script>
<div id="bodycontent">
    <div class="rightcontent-top">
    </div>
    <div class="rightcontent-middle">
        <div class="base-set">
            <div class="blogtitle">
                <h3>
                    发表人物志
                </h3>
            </div>
            <div class="tab-box">
            </div>
            <div class="clear">
            </div>
            @using (Html.BeginForm())
            {
                @Html.ValidationSummary(true)
 
                <div class="content-title">
                    <span>标题：@Html.EditorFor(model => model.PC_Title, "", new { @class = "lable" })
                        @Html.ValidationMessageFor(model => model.PC_Title)
                    </span>
                </div>
                <div>
                    @Html.TextArea("PC_Content", "", new { @class = "textarea" })
                    @Html.ValidationMessageFor(model => model.PC_Content)
                </div>
                <div style="padding-left: 40px; padding-top: 4px; text-align: left;">
                    标签： @Html.EditorFor(model => model.PC_Comment)
                    @Html.ValidationMessageFor(model => model.PC_Comment)
                </div>
                <p>
                    <input type="submit" value="保存" />
                </p>
            }
             <div style="padding-left: 40px; padding-top: 4px; text-align: left;">
                @Html.ActionLink("返回列表", "Index")
            </div>
        </div>
    </div>
</div>
